Chebyshev evaluation: All arguments are input. c(1:m) is an array of Chebyshev coefficients, the first m elements of c output from chebft (which must have been called with the same a and b). The Chebyshev polynomial evaluated and the result is returned as the function value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp) | :: | a | ||||
real(kind=wp) | :: | b | ||||
real(kind=wp) | :: | c(m) | ||||
integer | :: | m | ||||
real(kind=wp) | :: | x |